<?php if(isset($paginator)) { ?>
<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
	<tr>
		<td>	
	<?php	 	
	if (!empty($_param_pagination)) {
		$param = null;
		
		foreach($_param_pagination as $k=>$v) {
			$param[$k] = urlencode($v);
		}
		
        $paginator->options(
            array(
                'url' => $param
            )
        );
    }
    
	$_pPagination = $paginator->params();
	
	if($_pPagination['pageCount'] > 1) {
		if($_pPagination['page'] > 1 ) {
			echo $paginator->prev('', array('escape'=>false, 'class'=> 'page-left'));
		}
		echo '<div id="page-info">Page ';
		echo $paginator->numbers(array('separator'=>' '));
		echo '</div>';

		if($_pPagination['page'] < $_pPagination['pageCount']) {
			echo $paginator->next('', array('escape'=>false, 'class'=> 'page-right'));
		}
	} 
	?>
</td></tr>
</table>
<?php } ?>